package com.gljx.web.service;

import java.util.List;

import com.gljx.web.Entity.TrainType;

public interface TrainTypeService {

	List<TrainType> selTrainType();

	List<TrainType> selTrainTypeByName(String name);

	TrainType selTrainTypeById(String string);

	List<TrainType>queryTrainTypeByCompanyId(String companyId);
	
	List<TrainType>queryTrainTypeByCompanyIdAndFnameL2(String companyId,String fnameL2);
	
	String selectFnumber(String companyId);

	void addTrainType(TrainType trainType);

	void modifyTrainType(TrainType trainType);
	
	void deleteTrainTypeByFid(String fid);
}
